﻿using AppFramework.TicketTask;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Xml.Linq;

namespace AppFramework.DinosaursParkMes.TicketTask.DTO
{
    public class TicketTaskChaResponseDTO
    {
        [Display(Name = "页码")]
        public int pageindex { get; set; } = 1;
        [Display(Name = "页大小")]
        public int pagesize { get; set; } = 5;
        [Display(Name = ("任务编号"))]
        public string MissionNumber { get; set; } = "";
        [Display(Name = ("工单编号"))]
        public string WorkOrderNumber { get; set; } = "";
        [Display(Name = ("工序名称"))]
        public string Processname { get; set; } = "";
        [Display(Name = ("状态"))]
        public TicketTaskEnum? State { get; set; } = TicketTaskEnum.All;
        [Display(Name = "工艺流程")]
        /// <summary>
        /// 工艺流程
        /// </summary>
        public string Technologicalprocess { get; set; } = "";
        [Display(Name = ("开始计划"))]
        /// <summary>
        /// 开始计划
        /// </summary>
        public DateTime? CreationTinme { get; set; }
        /// <summary>
        /// 完工时间
        /// </summary>
        public DateTime? Completedate { get; set; }
        [Display(Name = "开工时间")]
        /// <summary>
        /// 开工时间
        /// </summary>
        public DateTime? Runplantdate { get; set; }
        [Display(Name = "站点名称")]
        /// <summary>
        /// 站点名称
        /// </summary>
        public string Sitename { get; set; } = "";

    }
}
